//
//  UIView+JSAlert.h
//  JSBasicFramework
//
//  Created by Apple on 2019/1/16.
//  Copyright © 2019 Apple. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (JSAlert)

@property (nonatomic, assign,readonly) CGFloat space10;
@property (nonatomic, assign,readonly) CGFloat space12;
@property (nonatomic, assign,readonly) CGFloat space14;
@property (nonatomic, assign,readonly) CGFloat space15;
@property (nonatomic, assign,readonly) CGFloat space16;
@property (nonatomic, assign,readonly) CGFloat space18;
@property (nonatomic, assign,readonly) CGFloat space20;

- (void)showLoadingWithTip:(NSString *)tip;
- (void)hidenLoading;
/**
 *  1.给UIView添加点击事件
 */
- (void)addTarget:(id)target
           action:(SEL)action;
/// 震动
- (void)startShakeCompletion:(dispatch_block_t)animFinish;
@end

NS_ASSUME_NONNULL_END
